import express from 'express'
import sqlQuery from '../utils/sql';
const router = express.Router()
//添加
router.get('/setPtype',async (request,reponese)=>{
    let res = await sqlQuery(`insert into ptype values('${coid}','${coupons},'${uid})`)
    reponese.send(res)
})